﻿@model Core.Models.User

@{
    ViewBag.Title = "Delete";
    Layout = ((Core.Models.Theme)Session["Theme"]).Layout;
}

<h2>Delete User</h2>

<h3>Are you sure you want to delete this user?</h3>
@using (Html.BeginForm())
{
<table border="0" cellpadding="5" cellspacing="0" width="90%">
<tr>
    <td valign="top">
    <fieldset>

        <div class="display-label">FirstName</div>
        <div class="display-field">@Model.Contact.FirstName</div>

        <div class="display-label">LastName</div>
        <div class="display-field">@Model.Contact.LastName</div>

        <div class="display-label">Email</div>
        <div class="display-field">@Model.Contact.Email</div>

    </fieldset>
    </td>
    <td valign="top">
    <fieldset>

        <div class="display-label">Create Date Time</div>
        <div class="display-field">@String.Format("{0:g}", Model.Contact.CreatedDT)</div>

        <div class="display-label">Created By</div>
        <div class="display-field">@Model.Contact.CreatedByName</div>

        <div class="display-label">Modified Date Time</div>
        <div class="display-field">@String.Format("{0:g}", Model.Contact.ModifiedDT)</div>

        <div class="display-label">Modified By</div>
        <div class="display-field">@Model.Contact.ModifiedByName</div>

    </fieldset>
    </td>
</tr>
<tr>
    <td colspan="2">
    &nbsp;
    </td>
</tr>
<tr>
    <td colspan="2">
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index", new { id = Model.BusinessUnitId})
    </td>
</tr>
</table>
}

